| Author | 
		  Message
		 | 
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Tue May 16, 2006 3:30 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Is c:\program files\WebSphere MQ\bin\ on the PATH?
 
 
Also, don't take this personally, but please don't PM me with follow-ups from public threads, or stuff you haven't yet posted publicly.  I'm not here to provide individual help to specific people in private. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Tue May 16, 2006 3:38 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jags1891 | 
		  
		    
			  
				 Posted: Wed May 17, 2006 11:21 am    Post subject: hi | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 15 May 2006 Posts: 32
  
  | 
		  
		    
			  
				i did everything sameway but its giving different error now
 
 
 
------ Rebuild All started: Project: MQM, Configuration: Debug Win32 ------
 
Deleting intermediate and output files for project 'MQM', configuration 'Debug|Win32'
 
Compiling...
 
stdafx.cpp
 
Compiling...
 
MQM.cpp
 
c:\mq_c_c_program\mqm\mqm\mqm.cpp(114) : warning C4996: 'strcpy' was declared deprecated
 
        c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'
 
        Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
 
c:\mq_c_c_program\mqm\mqm\mqm.cpp(132) : warning C4996: 'strncpy' was declared deprecated
 
        c:\program files\microsoft visual studio 8\vc\include\string.h(156) : see declaration of 'strncpy'
 
        Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
 
c:\mq_c_c_program\mqm\mqm\mqm.cpp(137) : warning C4996: 'strncpy' was declared deprecated
 
        c:\program files\microsoft visual studio 8\vc\include\string.h(156) : see declaration of 'strncpy'
 
        Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
 
c:\mq_c_c_program\mqm\mqm\mqm.cpp(143) : warning C4996: 'strncpy' was declared deprecated
 
        c:\program files\microsoft visual studio 8\vc\include\string.h(156) : see declaration of 'strncpy'
 
        Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
 
Compiling manifest to resources...
 
Linking...
 
LINK : C:\MQ_C_C_Program\MQM\Debug\MQM.exe not found or not built by the last incremental link; performing full link
 
Embedding manifest...
 
Project : error PRJ0003 : Error spawning 'cmd.exe'.
 
Build log was saved at "file://c:\MQ_C_C_Program\MQM\MQM\Debug\BuildLog.htm"
 
MQM - 1 error(s), 4 warning(s)
 
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========      | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mvic | 
		  
		    
			  
				 Posted: Wed May 17, 2006 10:14 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 09 Mar 2004 Posts: 2080
  
  | 
		  
		    
			  
				
   
	| wschutz wrote: | 
   
  
	| ...then you shouldn't be using mqm.lib | 
   
 
 
It will be necessary to link with mqm.lib directly if (and only if) the MQI is accessed from C somewhere in the program's .obj files.  Therefore there are cases where you'd need to link a C++ program with 3 libs: ie. the 2 C++ libs and mqm.lib.  (I don't know whether this applies to jags1891's case).  My previous post(s) didn't make that clear, sorry.     | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mvic | 
		  
		    
			  
				 Posted: Wed May 17, 2006 10:19 pm    Post subject: Re: hi | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 09 Mar 2004 Posts: 2080
  
  | 
		  
		    
			  
				
   
	| jags1891 wrote: | 
   
  
	| Project : error PRJ0003 : Error spawning 'cmd.exe' | 
   
 
 
It looks as if the build completed (with warnings) but a post-build step failed to run.  Look within the settings of the Visual Studio project to find what post-build steps are configured.  Maybe they need to be configured differently for this machine, or possibly removed altogether - but this is a matter for your project team leader I think. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fschofer | 
		  
		    
			  
				 Posted: Thu May 18, 2006 12:09 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany 
  | 
		  
		    
			  
				Hi,
 
 
have you tried compiling a simple MQ program like amqsput
 
=>
 
C:\Program Files\IBM\WebSphere MQ\Tools\c\Samples\amqsput0.c
 
 
This would show you if it is possible or not to compile MQ programs at all.
 
 
Greetings
 
Frank | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jags1891 | 
		  
		    
			  
				 Posted: Thu May 18, 2006 6:14 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 15 May 2006 Posts: 32
  
  | 
		  
		    
			  
				| hi now the program worked, All that I did was downloded amqzsaic.dll and it solved the problem, thanks everyone | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ydsk | 
		  
		    
			  
				 Posted: Tue Feb 20, 2007 11:15 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 23 May 2005 Posts: 410
  
  | 
		  
		    
			  
				I know this is an old post.
 
but i am facing a similar problem.
 
 
How did downloading amqzsaic.dll olve the problem ? Can someone pls explain ?
 
 
The file shold already be there in MQ\bin directory.
 
 
thnks.
 
ydsk. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | run | 
		  
		    
			  
				 Posted: Thu Apr 24, 2008 10:13 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 14 May 2007 Posts: 45 Location: Newyork, USA 
  | 
		  
		    
			  
				| Thats probably getting the .DLL file from the bin folder of the CD and dropping in the bin folder of your system. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | EddieA | 
		  
		    
			  
				 Posted: Thu Apr 24, 2008 10:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles 
  | 
		  
		    
			  
				run.  Why are you replying to a year old post that asked about a 2 year old problem.     
 
 
Cheers. _________________ Eddie Atherton
 
IBM Certified Solution Developer - WebSphere Message Broker V6.1
 
IBM Certified Solution Developer - WebSphere Message Broker V7.0 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |