Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by M_D. 04/26/24 20:22
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (M_D, AndrewAMD, Quad, Ayumi), 806 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Can not open directX device- Error message #446126
10/06/14 09:30
10/06/14 09:30
Joined: Mar 2009
Posts: 12
India, Tamil Nadu at chennai
S
sakthi Offline OP
Newbie
sakthi  Offline OP
Newbie
S

Joined: Mar 2009
Posts: 12
India, Tamil Nadu at chennai
Dear Friend,

We are using the 3D Game-studio A7.86 Version.

After publish the file,We are calling the *.Exe through VB 6.0 using Sheel command that time it show the following Error message

'Can't open the directX device'


But When we go to and double click the .Exe directly ,it is working fine and it is not show the above error message.

The same file ,we have developed in 3D Gamestudio A7.26 it is working fine.

what is the problem we could not identify

Please let me know what the route cause for this issue.

Please help me.

Regards,
K Sakthivel

Re: Can not open directX device- Error message [Re: sakthi] #446196
10/08/14 01:21
10/08/14 01:21
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
If u mean "Shell" command like shellexecute(ex) youve some options / solutions i guess. One way could be to simply create a shortcut to your EXE, shellexecuting this shortcut then (not the EXE direct). Another, much cleaner, way: define fullpath (of course) AND(!) the "lpDirectory" target path in shellexecute(ex) command
Quote:
lpDirectory
[in] A pointer to a null-terminated string that specifies the default (working) directory for the action. If this value is NULL, the current working directory is used. If a relative path is provided at lpFile, do not use a relative path for lpDirectory.
I could imagine a folder-change, be4 the shell execution, via ChDir (4ex) might solve the prob aswell, instead of a defined targetpath.
Or a be4 created BATch file, executing the EXE, might also help...but would be no good fix for my taste...more a hack like the "shortcut Version" ^^

Just some ideas...
Greets

Last edited by rayp; 10/09/14 22:39. Reason: moved to External Languages, as far as i see not Lite-C related

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;

Moderated by  TWO 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1