The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Problem loading OPJ file with long pathnames (2nd)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

schalkbe

Germany
9 Posts

Posted - 09/10/2001 :  10:13:11 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

like posted by marko entering

origin61.exe "P:\Test\New Folder, Level One\New Folder, Level Two\New Folder, Level Three\99 mm TT, 1.0 mm XXX, 2.2 mm HHH, 0.5 mm HW, Tc1180.OPJ"

at a command prompt in the directory where your origin61.exe is located results in the error

"P:\Test\New Folder, Level One\New Folder, Level Two\New Folder, Level Three\99 mm TT, 1.0 mm XXX, 2.2 mm HHH, 0.5 mm HWP:\Test\New.OPJ" cannot be found, check path and file name please.

This must be due to an error how Origin handles the command line arguments, since a test with a program test.exe (instead of origin61.exe) gives the correct results, even with much longer arguments.

The WinMain function of test.exe is


int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
return MessageBox(NULL,
lpCmdLine,
"Command Line Echo",
MB_OK);
}


Are there any comments from the Origin programmers on this topic?

Regards,
schalkbe

marko

Germany
112 Posts

Posted - 09/26/2001 :  06:09:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dear Origin-Team,

I wonder why there is absolutely no comment on this topic from your side. Since I posted my somewhat confusing first message concerning this issue and Gregs answer there was nothing heard up to now.

Schalkbe gave a detailed description of the issue and it should be quite easy to reproduce the error! So, I wonder why you still didn't seem to have had a look into the routines which transfer the list of command line arguments during a DDE call when an Origin server is running...

Would be nice to hear from you.

Regards,
Marko

Go to Top of Page

greg

USA
1380 Posts

Posted - 09/26/2001 :  1:12:49 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
There is an Origin problem with this particular pathname that will have to be passed along to the programmers. You can get around the problem by using start "P:\Test\New Folder, Level One\New Folder, Level Two\New Folder, Level Three\99 mm TT, 1.0 mm XXX, 2.2 mm HHH, 0.5 mm HW, Tc1180.OPJ" provided that Origin has been run on your system and (therefore) registered its 'ownership' of OPJ files. If you have multiple versions of Origin on your system, the start command will launch the most recently launched version of Origin.

For a technical problem like this you will get better response if you contact your Origin tech support directly - either through your dealer in the case of international customers or through phone or email for US and Canadian customers. OriginLab does monitor the Forum, but it is mostly designed as a user forum.

Go to Top of Page

marko

Germany
112 Posts

Posted - 09/27/2001 :  03:56:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Greg,

thanks for your response!

I wasn't so aware of that the removal of spaces in that particular case can help, thanks for pointing that out.

Yes, you are right I should seperately address this issue to Originlab directly.

Marko

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000